Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Application  Pools  Setting  Information  

 Content of List Application Pools Setting Information.vbs
MD5 Hash: C6F9C86D70736C70E8EEDFE54287BC06
' Description: Lists setting information for IIS application pools.


strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")

Set colItems = objWMIService.ExecQuery _
("Select * from IIsApplicationPoolsSetting")

For Each objItem in colItems
Wscript.Echo "Admin ACL Bin: " & objItem.AdminACLBin
Wscript.Echo "Application Pool AutoStart: " & _
objItem.AppPoolAutoStart
Wscript.Echo "Application Pool Identity Type: " & _
objItem.AppPoolIdentityType
Wscript.Echo "Application Pool Queue Length: " & _
objItem.AppPoolQueueLength
Wscript.Echo "Application Pool Recycle Configuration Change: " & _
objItem.AppPoolRecycleConfigChange
Wscript.Echo "Application Pool Recycle ISAPI Unhealthy: " & _
objItem.AppPoolRecycleIsapiUnhealthy
Wscript.Echo "Application Pool Recycle Memory: " & _
objItem.AppPoolRecycleMemory
Wscript.Echo "Application Pool Recycle On-Demand: " & _
objItem.AppPoolRecycleOnDemand
Wscript.Echo "Application Pool Recycle Private Memory: " & _
objItem.AppPoolRecyclePrivateMemory
Wscript.Echo "Application Pool Recycle Requests: " & _
objItem.AppPoolRecycleRequests
Wscript.Echo "Application Pool Recycle Schedule: " & _
objItem.AppPoolRecycleSchedule
Wscript.Echo "Application Pool Recycle Time: " & _
objItem.AppPoolRecycleTime
Wscript.Echo "AutoShutdown Application Pool Exe: " & _
objItem.AutoShutdownAppPoolExe
Wscript.Echo "AutoShutdown Application Pool Parameters: " & _
objItem.AutoShutdownAppPoolParams
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "CPU Action: " & objItem.CPUAction
Wscript.Echo "CPU Limit: " & objItem.CPULimit
Wscript.Echo "CPU Reset Interval: " & objItem.CPUResetInterval
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Disallow Overlapping Rotation: " & _
objItem.DisallowOverlappingRotation
Wscript.Echo "Disallow Rotation On Configuration Change: " & _
objItem.DisallowRotationOnConfigChange
Wscript.Echo "Idle Timeout: " & objItem.IdleTimeout
Wscript.Echo "Load Balancer Capabilities: " & _
objItem.LoadBalancerCapabilities
Wscript.Echo "Log Event On Recycle: " & objItem.LogEventOnRecycle
Wscript.Echo "Logon Method: " & objItem.LogonMethod
Wscript.Echo "Maximum Processes: " & objItem.MaxProcesses
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Orphan Action Exe: " & objItem.OrphanActionExe
Wscript.Echo "Orphan Action Parameters: " & _
objItem.OrphanActionParams
Wscript.Echo "Orphan Worker Process: " & _
objItem.OrphanWorkerProcess
Wscript.Echo "Periodic Restart Memory: " & _
objItem.PeriodicRestartMemory
Wscript.Echo "Periodic Restart PrivateMemory: " & _
objItem.PeriodicRestartPrivateMemory
Wscript.Echo "Periodic Restart Requests: " & _
objItem.PeriodicRestartRequests
For Each strSchedule in objItem.PeriodicRestartSchedule
Wscript.Echo "Periodic Restart Schedule: " & strSchedule
Next
Wscript.Echo "Periodic Restart Time: " & objItem.PeriodicRestartTime
Wscript.Echo "Pinging Enabled: " & objItem.PingingEnabled
Wscript.Echo "Ping Interval: " & objItem.PingInterval
Wscript.Echo "Ping Response Time: " & objItem.PingResponseTime
Wscript.Echo "Rapid Fail Protection: " & objItem.RapidFailProtection
Wscript.Echo "Rapid Fail Protection Interval: " & _
objItem.RapidFailProtectionInterval
Wscript.Echo "Rapid Fail Protection Maximum Crashes: " & _
objItem.RapidFailProtectionMaxCrashes
Wscript.Echo "Setting ID: " & objItem.SettingID
Wscript.Echo "Shutdown Time Limit: " & objItem.ShutdownTimeLimit
Wscript.Echo "SMP Affinitized: " & objItem.SMPAffinitized
Wscript.Echo "SMP Processor Affinity Mask: " & _
objItem.SMPProcessorAffinityMask
Wscript.Echo "Startup Time Limit: " & objItem.StartupTimeLimit
Wscript.Echo "WAM User Name: " & objItem.WAMUserName
Wscript.Echo "WAM User Password: " & objItem.WAMUserPass
Wscript.Echo "Win32 Error: " & objItem.Win32Error
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a